class UrlMappings
{

    static mappings = {

        "/$controller/$action?/$id?" {
            constraints {
                // apply constraints here
            }

            // action = [GET: "show", PUT: "update", DELETE: "delete", POST: "save"]
        }

        /* "/airport/$id"(controller: "airport", parseRequest: true) {
             action = [GET: "show", PUT: "update", DELETE: "delete", POST: "save"]*/
        // }

        "/"(controller: "dashBoard")
        "500"(view: '/error')
        /*
         * Webservices redirection for WebserviceAgentController
         */
        "/wsAgent/familiesByFPS"(controller: "WebserviceAgent", action: "familiesByFPS")
        "/wsAgent/families"(controller: "WebserviceAgent", action: "families")
        "/wsAgent/aids"(controller: "WebserviceAgent", action: "aids")
        "/wsAgent/categories"(controller: "WebserviceAgent", action: "categories")
        "/wsAgent/products"(controller: "WebserviceAgent", action: "products")
        "/wsAgent/family"(controller: "WebserviceAgent", action: "family")
        "/wsAgent/product"(controller: "WebserviceAgent", action: "product")
        "/wsAgent/getRegId"(controller: "WebserviceAgent", action: "getRegId")
        "/wsAgent/transaction"(controller: "WebserviceAgent", action: "transaction")
        /**
         *  Webservices redirection for WebserviceController
         */
        "/ws/retrieveAid"(controller: "WebserviceController", action: "retrieveAid")
        "/ws/addBeneficiary"(controller: "WebserviceController", action: "addBeneficiary")
        /*
         * GCM Webservices
         */
        "/gcm/receive"(controller: "androidGCMReceiver", action: "getGCMNotifMessages")

    }
}
